<?php

require_once 'FWidget.class.php';

class FDateField extends FWidget
{
    
    public function __construct($name, $fieldLabel = '', $fieldWidth = 20, $readOnly = false)
    {
        parent::__construct($name, 'datefield', $fieldLabel, $fieldWidth, $readOnly);
        $this->setIsInput(true);
        
        $this->setBaseCls('ftextfield');
        $this->setFieldCls('ftextfield');
        $this->setLabelCls('ftextfieldlabel');
        $this->setReadOnlyCls('readonly');
        $this->setRequiredCls('required-field');
    }
    
}

?>
